﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XBD.Interface
{
    public class ShippingCalculator:IShippingCalculator
    {
        public float CalculateShipping(Order order) 
        {
            if (order.TotalPrice < 50)
                return 10;
            return 0;
        }

    }
}
